* {
    margin: 0;
    padding: 0;
}

.head {
    height: 748px;
}

.top-left {
    height: 60px;
    position: absolute;
    top: 0;
    left: 0;
    padding-left: 24px;
}

.top-left a {
    margin-top: 19px;
    margin-right: 27px;
    display: inline-block;
    position: relative;

    
}

.nav a {
    text-decoration: none;
    text-align: center;
    color: #222;
    font:13px/23px 'PingFang SC',Arial,'Microsoft YaHei',sans-serif;
    z-index: 1;
}

.top-right {
    position: absolute;
    top: 0;
    right: 0;
    height: 60px;
    padding-right: 24px;
}

.top-right .top-menu {
    margin-left: 32px;
    margin-top: 19px;
    display: inline-block;
    position: relative;
    vertical-align: top;
}

.top-menu .icon-Sun {
    color: #4e71f2;
    font-size: 18px;
    margin: 0 2px;
}
.top-right .city span {
    display: inline-block;
    background-color: #4e71f2;
    color: #fff;
    font-size: 11px;
    height: 15px;
    line-height: 15px;
    padding: 0 2px;
    border-radius: 3px;
    margin-left: 2px;
    margin-top: 5px;
    vertical-align: top;
    
}


.top-right .kj {
    color: #f63051;
}

.top-right .user {
    margin-top: 15px;
    display:inline-block;
    height: 30px;
}

.user .photo {
    position: relative;
    width: 28px;
    height: 28px;
    border: 1px solid #4e71f2;
    display: inline-block;
    border-radius: 50%;
}

.photo img {
    padding: 2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.user .id {
    height: 30px;
    line-height: 30px;
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    margin-left: 3px;
}

.user-menu a {
    display: block;
    color: #333;
    padding: 3px 8px;
    text-align: center;
}

.user-menu {
    display: none;

    z-index: 999;

    position: absolute;
    right: 34px;
    width: 84px;
    padding: 8px 0;
    top: 45px;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, .15);
    border-radius: 12px;
}

.user-menu a:hover,.top-menu:hover{
    color: #315efb;
}

.top-right a:hover+.user-menu {
    display: block;
}

.user-menu:hover {
    display: block;
}

.head-wrap {
    position: relative;
    height: 39.4%;
    min-height: 304px;
    max-height: 359px;
    width: 1000px;
    margin: 0 auto;
}

.search-wrap {
    width: 654px;
    height: 100%;
    margin: 0 auto;
    text-align: left;
}

.search-top {
    height: 182px;
    position: relative;
    text-align: center;
}

.search-top img {
    /* 水平居中 */
    position: absolute;
    left: -135px;
    margin-left: 50%;

    bottom: 15px;
    width: 270px;
    height: 129px;
}

form {
    position: relative;
    
}

.form-left {
    position: relative;
    display: inline-block;
    width: 546px;
}

form .search-input {
    width: 512px;
    height: 16px;
    padding: 12px 16px;
    font-size: 16px;
    margin: 0;
    vertical-align: top;
    outline: 0;
    box-shadow: none;
    border-radius: 10px 0 0 10px;
    border: 2px solid #cac7ce;
    color: #222;
    overflow: hidden;
    display: inline-block;
}

.soutu-btn {
    background: #fff url("../images/camera.png") no-repeat;
    background-position: 0 -51px;
    right: 16px;
    margin-top: -9px;
    width: 24px;
    height: 20px;
    top: 50%;
    position: absolute;
    cursor: pointer; 
}

.soutu-hover {
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, .1);
    border-radius: 6px;
    height: 32px;
    line-height: 32px;
    width: 94px;
    text-align: center;
    font-size: 14px;
    color: #626675;
    position: absolute;
    top: 52px;
    right: 5px;

    /* 先隐藏  不占据空间*/
    display: none;

}

.btn {
    width: 108px;
    height: 44px;
    position: relative;
    vertical-align: top;
    display: inline-block;
    margin-left: -5px;

}

.search-btn {
    cursor: pointer;
    width: 108px;
    height: 44px;
    line-height: 45px;
    background-color: #4e6ef2;
    border-radius: 0 10px 10px 0;
    font-size: 17px;
    color: #fff;
    outline: none;
    box-shadow: none;
    border: none;
}

span .search-input:focus {
    border-color: #4e6ef2;
}

.search-input:hover {
    border-color: #a4a8b8;
    
}

.soutu-btn:hover {
    background-position: 0 -75px;
}

/* 要用全兄弟选择器 */
.soutu-btn:hover~.soutu-hover {
    display: block;
}

.search-btn:hover {
    background-color: #4662d9;
}

.nav .top-left a:hover {
    color: #4e6ef2;

}